const switchBtns = document.querySelectorAll('.toggle')

for (const btn of switchBtns) {
    btn.change = () => {
        btn.check = !btn.check
    }
}